//
//  MRMSetting.m
//  MeiRiMoney
//
//  Created by 裘启坤 on 13-9-8.
//  Copyright (c) 2013年 MeiRiCai. All rights reserved.
//

#import "MRMSetting.h"
#import "MRMSdk.h"

@implementation MRMSetting

+ (NSString *)filePath
{
	NSString *fileName = @"MRMSetting.plist";
	NSArray* myPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
}

+ (BOOL)isEnabledWall
{
	NSString *settingFileName = @"MRMSetting.plist";
	
	NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
	NSString *isEnabledWall_Key = [NSString stringWithFormat:@"iOS_IsEnabledWall_%@", version];
	GSetting *gSetting = [MRMSdk getGSetting:isEnabledWall_Key];
	
	BOOL _isEnabledWall = true;
	if (gSetting != nil && ![gSetting.Value isEqual: @"1"]) {
		_isEnabledWall = false;
	}
	
	return _isEnabledWall;
}

@end
